/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entity;

/**
 *
 * @author Trung Duc
 */
public class BillDetail {
    private int billID;
    private int itemID;
    private String itemName;
    private String categoryName;
    private int quantity;
    private float price;
    
    public BillDetail(int billID, int itemID, String itemName,String categoryName, int quantity, float price) {
        this.billID = billID;
        this.itemID = itemID;
        this.itemName = itemName;
        this.categoryName = categoryName;
        this.quantity = quantity;
        this.price = price;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public int getItemID() {
        return itemID;
    }

    public void setItemID(int itemID) {
        this.itemID = itemID;
    }

    
    public int getBillID() {
        return billID;
    }

    public void setBillID(int billID) {
        this.billID = billID;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }


    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "BillDetail{" + "billID=" + billID + ", itemID=" + itemID + ", itemName=" + itemName + ", categoryName=" + categoryName + ", quantity=" + quantity + ", price=" + price + '}';
    }
    
}
